package jvm.overflow;

/**
 * Exception in thread "main" java.lang.StackOverflowError
 *
 * @author yuqi<307530884@qq.com> <2017/3/27>
 * @version 1.0
 * @since 1.0
 */
public class Stack {

//    private final static Stack s = new Stack();

    Stack a = new Stack();
    Stack b = new Stack();

    static {
        System.out.println("static");
    }

    public static void main(String[] args) {
        new Stack();
    }

}
